<template>
  <div class="child">
    <h2>我是Child组件</h2>
    <h3>{{name|daxie}}</h3>
  </div>
</template>

<script>
  export default {
    name:'Child',
    data() {
        return {
            name:'tony'
        }
    },
  }
</script>

<style scoped>
    .child {
        background-color: orange;
        padding: 20px;
    }
</style>